package com.shzu.jwc.ty.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PeExaminationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PeExaminationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPeExaminationIdIsNull() {
            addCriterion("pe_examination_id is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdIsNotNull() {
            addCriterion("pe_examination_id is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdEqualTo(Integer value) {
            addCriterion("pe_examination_id =", value, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdNotEqualTo(Integer value) {
            addCriterion("pe_examination_id <>", value, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdGreaterThan(Integer value) {
            addCriterion("pe_examination_id >", value, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pe_examination_id >=", value, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdLessThan(Integer value) {
            addCriterion("pe_examination_id <", value, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdLessThanOrEqualTo(Integer value) {
            addCriterion("pe_examination_id <=", value, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdIn(List<Integer> values) {
            addCriterion("pe_examination_id in", values, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdNotIn(List<Integer> values) {
            addCriterion("pe_examination_id not in", values, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdBetween(Integer value1, Integer value2) {
            addCriterion("pe_examination_id between", value1, value2, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pe_examination_id not between", value1, value2, "peExaminationId");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeIsNull() {
            addCriterion("pe_examination_star_time is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeIsNotNull() {
            addCriterion("pe_examination_star_time is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeEqualTo(Date value) {
            addCriterion("pe_examination_star_time =", value, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeNotEqualTo(Date value) {
            addCriterion("pe_examination_star_time <>", value, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeGreaterThan(Date value) {
            addCriterion("pe_examination_star_time >", value, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pe_examination_star_time >=", value, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeLessThan(Date value) {
            addCriterion("pe_examination_star_time <", value, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeLessThanOrEqualTo(Date value) {
            addCriterion("pe_examination_star_time <=", value, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeIn(List<Date> values) {
            addCriterion("pe_examination_star_time in", values, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeNotIn(List<Date> values) {
            addCriterion("pe_examination_star_time not in", values, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeBetween(Date value1, Date value2) {
            addCriterion("pe_examination_star_time between", value1, value2, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationStarTimeNotBetween(Date value1, Date value2) {
            addCriterion("pe_examination_star_time not between", value1, value2, "peExaminationStarTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeIsNull() {
            addCriterion("pe_examination_end_time is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeIsNotNull() {
            addCriterion("pe_examination_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeEqualTo(Date value) {
            addCriterion("pe_examination_end_time =", value, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeNotEqualTo(Date value) {
            addCriterion("pe_examination_end_time <>", value, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeGreaterThan(Date value) {
            addCriterion("pe_examination_end_time >", value, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pe_examination_end_time >=", value, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeLessThan(Date value) {
            addCriterion("pe_examination_end_time <", value, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("pe_examination_end_time <=", value, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeIn(List<Date> values) {
            addCriterion("pe_examination_end_time in", values, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeNotIn(List<Date> values) {
            addCriterion("pe_examination_end_time not in", values, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeBetween(Date value1, Date value2) {
            addCriterion("pe_examination_end_time between", value1, value2, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("pe_examination_end_time not between", value1, value2, "peExaminationEndTime");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorIsNull() {
            addCriterion("pe_examination_invigilator is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorIsNotNull() {
            addCriterion("pe_examination_invigilator is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorEqualTo(String value) {
            addCriterion("pe_examination_invigilator =", value, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorNotEqualTo(String value) {
            addCriterion("pe_examination_invigilator <>", value, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorGreaterThan(String value) {
            addCriterion("pe_examination_invigilator >", value, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorGreaterThanOrEqualTo(String value) {
            addCriterion("pe_examination_invigilator >=", value, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorLessThan(String value) {
            addCriterion("pe_examination_invigilator <", value, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorLessThanOrEqualTo(String value) {
            addCriterion("pe_examination_invigilator <=", value, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorLike(String value) {
            addCriterion("pe_examination_invigilator like", value, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorNotLike(String value) {
            addCriterion("pe_examination_invigilator not like", value, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorIn(List<String> values) {
            addCriterion("pe_examination_invigilator in", values, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorNotIn(List<String> values) {
            addCriterion("pe_examination_invigilator not in", values, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorBetween(String value1, String value2) {
            addCriterion("pe_examination_invigilator between", value1, value2, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationInvigilatorNotBetween(String value1, String value2) {
            addCriterion("pe_examination_invigilator not between", value1, value2, "peExaminationInvigilator");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceIsNull() {
            addCriterion("pe_examination_place is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceIsNotNull() {
            addCriterion("pe_examination_place is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceEqualTo(String value) {
            addCriterion("pe_examination_place =", value, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceNotEqualTo(String value) {
            addCriterion("pe_examination_place <>", value, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceGreaterThan(String value) {
            addCriterion("pe_examination_place >", value, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("pe_examination_place >=", value, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceLessThan(String value) {
            addCriterion("pe_examination_place <", value, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceLessThanOrEqualTo(String value) {
            addCriterion("pe_examination_place <=", value, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceLike(String value) {
            addCriterion("pe_examination_place like", value, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceNotLike(String value) {
            addCriterion("pe_examination_place not like", value, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceIn(List<String> values) {
            addCriterion("pe_examination_place in", values, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceNotIn(List<String> values) {
            addCriterion("pe_examination_place not in", values, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceBetween(String value1, String value2) {
            addCriterion("pe_examination_place between", value1, value2, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationPlaceNotBetween(String value1, String value2) {
            addCriterion("pe_examination_place not between", value1, value2, "peExaminationPlace");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitIsNull() {
            addCriterion("pe_examination_upper_limit is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitIsNotNull() {
            addCriterion("pe_examination_upper_limit is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitEqualTo(Integer value) {
            addCriterion("pe_examination_upper_limit =", value, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitNotEqualTo(Integer value) {
            addCriterion("pe_examination_upper_limit <>", value, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitGreaterThan(Integer value) {
            addCriterion("pe_examination_upper_limit >", value, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("pe_examination_upper_limit >=", value, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitLessThan(Integer value) {
            addCriterion("pe_examination_upper_limit <", value, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitLessThanOrEqualTo(Integer value) {
            addCriterion("pe_examination_upper_limit <=", value, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitIn(List<Integer> values) {
            addCriterion("pe_examination_upper_limit in", values, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitNotIn(List<Integer> values) {
            addCriterion("pe_examination_upper_limit not in", values, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitBetween(Integer value1, Integer value2) {
            addCriterion("pe_examination_upper_limit between", value1, value2, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationUpperLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("pe_examination_upper_limit not between", value1, value2, "peExaminationUpperLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitIsNull() {
            addCriterion("pe_examination_lower_limit is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitIsNotNull() {
            addCriterion("pe_examination_lower_limit is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitEqualTo(Integer value) {
            addCriterion("pe_examination_lower_limit =", value, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitNotEqualTo(Integer value) {
            addCriterion("pe_examination_lower_limit <>", value, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitGreaterThan(Integer value) {
            addCriterion("pe_examination_lower_limit >", value, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("pe_examination_lower_limit >=", value, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitLessThan(Integer value) {
            addCriterion("pe_examination_lower_limit <", value, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitLessThanOrEqualTo(Integer value) {
            addCriterion("pe_examination_lower_limit <=", value, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitIn(List<Integer> values) {
            addCriterion("pe_examination_lower_limit in", values, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitNotIn(List<Integer> values) {
            addCriterion("pe_examination_lower_limit not in", values, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitBetween(Integer value1, Integer value2) {
            addCriterion("pe_examination_lower_limit between", value1, value2, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationLowerLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("pe_examination_lower_limit not between", value1, value2, "peExaminationLowerLimit");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskIsNull() {
            addCriterion("pe_examination_ask is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskIsNotNull() {
            addCriterion("pe_examination_ask is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskEqualTo(String value) {
            addCriterion("pe_examination_ask =", value, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskNotEqualTo(String value) {
            addCriterion("pe_examination_ask <>", value, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskGreaterThan(String value) {
            addCriterion("pe_examination_ask >", value, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskGreaterThanOrEqualTo(String value) {
            addCriterion("pe_examination_ask >=", value, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskLessThan(String value) {
            addCriterion("pe_examination_ask <", value, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskLessThanOrEqualTo(String value) {
            addCriterion("pe_examination_ask <=", value, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskLike(String value) {
            addCriterion("pe_examination_ask like", value, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskNotLike(String value) {
            addCriterion("pe_examination_ask not like", value, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskIn(List<String> values) {
            addCriterion("pe_examination_ask in", values, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskNotIn(List<String> values) {
            addCriterion("pe_examination_ask not in", values, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskBetween(String value1, String value2) {
            addCriterion("pe_examination_ask between", value1, value2, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationAskNotBetween(String value1, String value2) {
            addCriterion("pe_examination_ask not between", value1, value2, "peExaminationAsk");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishIsNull() {
            addCriterion("pe_examination_finish is null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishIsNotNull() {
            addCriterion("pe_examination_finish is not null");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishEqualTo(Integer value) {
            addCriterion("pe_examination_finish =", value, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishNotEqualTo(Integer value) {
            addCriterion("pe_examination_finish <>", value, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishGreaterThan(Integer value) {
            addCriterion("pe_examination_finish >", value, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishGreaterThanOrEqualTo(Integer value) {
            addCriterion("pe_examination_finish >=", value, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishLessThan(Integer value) {
            addCriterion("pe_examination_finish <", value, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishLessThanOrEqualTo(Integer value) {
            addCriterion("pe_examination_finish <=", value, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishIn(List<Integer> values) {
            addCriterion("pe_examination_finish in", values, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishNotIn(List<Integer> values) {
            addCriterion("pe_examination_finish not in", values, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishBetween(Integer value1, Integer value2) {
            addCriterion("pe_examination_finish between", value1, value2, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeExaminationFinishNotBetween(Integer value1, Integer value2) {
            addCriterion("pe_examination_finish not between", value1, value2, "peExaminationFinish");
            return (Criteria) this;
        }

        public Criteria andPeClassIdIsNull() {
            addCriterion("pe_class_id is null");
            return (Criteria) this;
        }

        public Criteria andPeClassIdIsNotNull() {
            addCriterion("pe_class_id is not null");
            return (Criteria) this;
        }

        public Criteria andPeClassIdEqualTo(Integer value) {
            addCriterion("pe_class_id =", value, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdNotEqualTo(Integer value) {
            addCriterion("pe_class_id <>", value, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdGreaterThan(Integer value) {
            addCriterion("pe_class_id >", value, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pe_class_id >=", value, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdLessThan(Integer value) {
            addCriterion("pe_class_id <", value, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdLessThanOrEqualTo(Integer value) {
            addCriterion("pe_class_id <=", value, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdIn(List<Integer> values) {
            addCriterion("pe_class_id in", values, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdNotIn(List<Integer> values) {
            addCriterion("pe_class_id not in", values, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdBetween(Integer value1, Integer value2) {
            addCriterion("pe_class_id between", value1, value2, "peClassId");
            return (Criteria) this;
        }

        public Criteria andPeClassIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pe_class_id not between", value1, value2, "peClassId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}